package com.oa.demo.common.annotation;


import com.oa.demo.common.configure.BaseWebMvcConfigurer;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * web拦截
 * @author 孔德成
 * @date 2020/11/25 17:31
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(BaseWebMvcConfigurer.class)
public @interface EnableServerProtect {
}
